package org.moflon.tie;

import org.apache.log4j.BasicConfigurator;
import org.eclipse.emf.ecore.EPackage;
import org.moflon.integrator.IntegratorApp;
import BoardGameToTreeIntegration.BoardGameToTreeIntegrationPackage;
import BoardGame.BoardGamePackage;
import GameRules.GameRulesPackage;


public class StartIntegrator {

    public static void main(String[] args) throws Exception {

         // Set up logging
         BasicConfigurator.configure();

         // Register projects

         //Register BoardGameToTreeIntegration
         EPackage packageBoardGameToTreeIntegration = BoardGameToTreeIntegrationPackage.eINSTANCE;
         packageBoardGameToTreeIntegration.getName();

         //Register BoardGame
         EPackage packageBoardGame = BoardGamePackage.eINSTANCE;
         packageBoardGame.getName();

         //Register GameRules
         EPackage packageGameRules = GameRulesPackage.eINSTANCE;
         packageGameRules.getName();
     
         // Start integrator
         IntegratorApp.startIntegrator(args);

    }

}